package ProcessControl;

public class Demo12 {
    public static void main(String[] args) {
        //用for循环计算1+2+3+...+100
//        int sum =0;
//        for (int i = 0; i<=100; i++){
//            sum =sum+i;
//
//        } System.out.println(sum);
//        System.out.println("==========================================================");
        //打印9*9乘法表
        for (int j = 1; j <= 9; j++) {
            for (int i = 1; i <= j; i++) {
                System.out.print(i+"*"+j+"="+i*j+"\t");
            }
            System.out.println();
        }


    }
}
